package com.ghh;

import junit.framework.TestCase;

public class NewFeatureInJava7 extends TestCase {

	public void testBit() {
		int bInt = 0b0011;
		int cInt = 0x012f_fff;
		long i = 1234_214234_4545l;
		System.out.println(bInt);
		System.out.println(cInt);
		System.out.println(i);
	}
	
	public void testSwitch() {
		String s = "aa";
		switch(s) {
		case "aa":
			System.out.println("aa");
			break;
		case "bb":
			System.out.println("bb");
			break;
		default:
			System.out.println("...");
		}
	}
}
